// Work in progress Panel
.wip-window {
    z-index: 99999999 !important;

    table {
        border-collapse: collapse;
        width: 100%;
    }

    label {
        text-transform: none;
        font-size: 14px;
        font-weight: 100;
        color: #5c6164 !important;
        padding-left: 6px !important;
    }

    .help-message {
        padding: 5px 10px;
        background: orange;
        font-size: 14px;
        color: _color("white", normal);
        font-weight: 100;
        margin-top: 20px;

        a {
            color: _color("white", normal);
        }
    }

    .error-languages {
        background: rgba(255, 0, 0, 0.11);
        display: block;
        position: relative;
        margin-left: -15px;
        z-index: 999999999999;
        padding: 5px 15px !important;

        .error-message {
            color: red;
            font-size: 14px;
            font-weight: 400;
            margin-top: 13px;
            margin-bottom: 6px;
        }

        // Error Icon
        img.gwt-Image {
            display: none !important;
        }
    }

    .x-item-disabled {
        opacity: 0.7;
    }


    .x-window-bwrap {
        overflow: hidden;
    }

    // Header
    > .x-window-tl {
        padding-bottom: 0 !important;

        .x-window-header {
            .x-window-header-text {
                display: block;
            }
        }
    }

    .x-window-body {
        height: auto !important;
        overflow: visible;

        > div {
            > table {
                > tbody {
                    > tr {
                        > td { /* OPTIMISE SELECTOR ::: css/app/edit-engine/_work-in-progress.scss ::: 1 */
                            margin-left: 10px;
                            margin-bottom: 5px;
                            display: block;
                        }

                        &:nth-child(1) { /* OPTIMISE SELECTOR ::: css/app/edit-engine/_work-in-progress.scss ::: 2 */
                            > td {
                                margin-bottom: 30px;
                                margin-left: 0;

                                div {
                                    color: #5c6164;
                                    font-size: 16px;
                                    font-weight: 300;
                                }
                            }
                        }

                        &:nth-child(3) > td > div > table > tbody > tr:nth-child(2) > td { /* OPTIMISE SELECTOR ::: css/app/edit-engine/_work-in-progress.scss ::: 3 */
                            padding-left: 18px;
                            padding-top: 5px;
                        }

                        &:nth-child(3) > td > div { /* OPTIMISE SELECTOR ::: css/app/edit-engine/_work-in-progress.scss ::: 4 */
                            padding: 5px 0;
                        }
                    }
                }
            }
        }

        .x-form-check-wrap {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 392px !important;
            padding-left: 1px;
        }
    }

    .x-window-bl {
        margin-top: 20px;

        .x-panel-fbar {
            .x-toolbar-cell {
                // Stop the buttons being inversed
                float: none
            }
        }
    }

    // Error message labels
    .error-message {
        color: red;
    }
}
